package com.wt.springsamples.model.dto;

import com.wt.springsamples.model.Org;
import com.wt.springsamples.model.SysMenu;
import com.wt.springsamples.model.SysRole;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class UserLoginInfo implements Serializable {

    private Long userId;
    private String name;
    private String avatar;
    private String loginName;
    private String email;

    private Org org;
    List<SysRole> roleList = new ArrayList<>();
    List<SysMenu> menuList = new ArrayList<>();
}
